package org.hawk.gwt.ppc.reflect.mock;

@SuppressWarnings("serial")
public class Mock3 extends Mock1 {
	private String classToInstantiate;
	
	public Mock3() throws Exception {}
	
	Mock3(String name){
		this(name,null);
		if(name==null){
			if(String.valueOf(this)==name){
				throw new RuntimeException();
			}
		}
	}
	
	protected Mock3(Mock3 parent){
		this(null,parent);
	}
	
	private Mock3(String name,Mock3 parent){}

	@Override
	public void method01() throws Exception {
		classToInstantiate.getClass().getClass().getClass().newInstance();
		Class<?> t = Class.forName("").getMethods().getClass();
		t.getName();
	}
}
